package com.by.component.extra;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.by.datasource.tenant.TCorpCode;
import com.by.datasource.tenant.TProjectId;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 订单扩展信息(ExtraInfo)表数据库实体类
 *
 * @author YanBingHao
 * @since 2024-12-13 16:40:33
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("extra_info")
@TProjectId
@TCorpCode
public class ExtraInfo extends Model<ExtraInfo> {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 扩展代码
     */
    private String extraCode;
    private Integer extraType;
    /**
     * 扩展信息
     */
    private String extraContent;
    /**
     * 项目id
     */
    private Long tProjectId;
    /**
     * 企业代码
     */
    private Long tCorpCode;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
